//
//  Generate.h
//  Starcraft Replay QL
//
//  Created by Félix Cloutier on 11-11-03.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#ifndef Starcraft_Replay_QL_Generate_h
#define Starcraft_Replay_QL_Generate_h

#import <CoreFoundation/CoreFoundation.h>
#import <CoreServices/CoreServices.h>
#import <QuickLook/QuickLook.h>

#ifdef __cplusplus
extern "C" {
#endif

OSStatus GenerateThumbnailForURL(void *thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize);
OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options);

void CancelThumbnailGeneration(void* thisInterface, QLThumbnailRequestRef thumbnail);
void CancelPreviewGeneration(void* thisInterface, QLPreviewRequestRef preview);
	
#ifdef __cplusplus
}
#endif

#endif
